package com.jinsi.mapper;

import com.jinsi.pojo.ScPrint;
import com.jinsi.pojo.ScPrintRecord;
import com.jinsi.pojo.ScStudent;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ScPrintMapper {
    //获取全部打印信息
    public List<ScPrintRecord> getPrintRecord();
    //根据学生查询打印信息
    public List<ScPrintRecord> getPrintRecordByStuName(String studentName);
    //添加打印记录
    public int addPrintRecord(ScPrintRecord record);
    //根据打印记录获取学生详情
    public ScStudent getStudent(String studentId);
    //根据打印记录获取订单详情
    public List<Map<String,Object>> getPrint(String documentId);
    //根据id查询打印信息
    List<Map<String,Object>> getPrintById(int id,List<Integer> list);
    //根据id查询idlist
    String getIdlist(int id);


}
